<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<style type="text/css">
.t2{
border-spacing:0;
border-collapse: collapse; 
position: absolute;
left: 190px;
top: 65px;
}
.t2 td{
border: 1px black solid;
}
body {
	position: relative;
}

</style>
</head>
<body>
<h2>Step1:选择要购买的书籍</h2>
<%
List<String> list=(List)session.getAttribute("booksName");    
%>  

<table class="t1">
<tr><td colspan="2"><h3>购买列表</h3></td></tr>
<% 
for(int i=0;i<list.size();i++){
%>
  <tr>
   <td><%=i+1%></td>
   <td>&nbsp; <%=list.get(i)%></td>
  </tr>

<%
}
%>
</table>
<br>
<a href="step1.jsp">返回重新选择</a>

<form action="<%=request.getContextPath()%>/bookBuyServlet?m=getcustomermsg" method="post">
<table class="t2">
<tr>
 <td colspan="2">基本信息</td>
</tr>
<tr>
 <td>姓名</td>
 <td><input type="text" name="CusName"></td>
</tr>
<tr>
 <td>寄送地址</td>
 <td><input type="text" name="address"></td>
</tr>
<tr>
 <td colspan="2">银行卡信息</td>
</tr>
<td>种类</td>
 <td>
 <input type="radio" name="caedType" value="储蓄卡">储蓄卡
 <input type="radio" name="caedType" value="信用卡">信用卡
 </td>
 <tr>
 <td>卡号</td>
 <td><input type="text" name="cardNumber"></td>
</tr>
<tr>
 <td>手机号</td>
 <td><input type="text" name="telNumber"></td>
</tr>
<tfoot>
<tr>
<td colspan="2" style="text-align:right;"><input type="submit" value="提交"> </td>
</tr>
</tfoot>
</table>
</form>
</body>
</html>